package cn.mg.mybatis.domain;

import java.io.Serializable;

/**
 * @author 何兆明
 * @description
 * @create 2018/8/1 下午6:29
 */
public class Range implements Serializable {

    private String column;
    /**
     * >= from
     */
    private Object from;
    /**
     * <= to
     */
    private Object to;


    public Range(String column, Object from, Object to) {
        this.column = column;
        this.from = from;
        this.to = to;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public Object getFrom() {
        return from;
    }

    public void setFrom(Object from) {
        this.from = from;
    }

    public Object getTo() {
        return to;
    }

    public void setTo(Object to) {
        this.to = to;
    }
}
